<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>添加节点</title>
</head>

<body>
<form action="{:U('admin/Rbac/addNodeHandle')}" method="post">
	<table>
	  <tr>
		<th scope="col">添加节点</th>
	  </tr>
	  <tr>
		<td align="right">名称：</td>
		<td>
			<input type="text" name="name"/><span>for English</span>
		</td>
	  </tr>
	  <tr>
		<td align="right">描述：</td>
		<td>
			<input type="text" name="title"/>
		</td>
	  </tr>
	  <tr>
		<td align="right">是否开启：</td>
		<td>
			<input type="radio" name="status" value="1" checked="checked"/>&nbsp;开启&nbsp;
			<input type="radio" name="status" value="0"/>&nbsp;关闭&nbsp;
		</td>
	  </tr>
	  <tr>
		<td align="right">类型</td>
		<td>
			<select name="level">
				<option value="1">项目</option>
				<option value="2">模块</option> 			
				<option value="3">操作</option> 			
			</select>
		</td>
	  </tr>
	  <tr>
		<td align="right">父节点</td>
		<td>
			<select name="pid">
				<option value="0">根结点</option>
				<volist name="node" id="vo">
				<if condition="$vo.level eq 1">
					<option value="{$vo.id}">{$vo.title}</option>
					<else/>
					<option value="{$vo.id}"> | {$vo.title}</option>
					</if>
				</volist>
			</select>
		</td>
	  </tr>
	  <tr>
		<td align="right">排序：</td>
		<td>
			<input type="text" name="sort" value="1"/>
		</td>
		</tr>
		<tr>
		<td colspan="2" align="center">
		<input type="submit" value="点击添加"/>
		</td>
	  </tr>
	</table>
</form>
</body>
</html>
